package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * <h1>商品sku图片表表 micro_goods_sku_image</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "商品sku图片表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_goods_sku_image")
public class GoodsSkuImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * sku商品编号
     */
    @ApiModelProperty(value = "sku商品编号")
    private String skuCode;


    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    private String imageUrl;


    /**
     * 是否默认主图 1.是 2.否
     */
    @ApiModelProperty(value = "是否默认主图 1.是 2.否")
    private Byte idDefault;


    /**
     * 图片排序
     */
    @ApiModelProperty(value = "图片排序")
    private Integer imageSort;

}
